package com.happystreet.ui
{
	import com.happystreet.engine.CoreObject;
	
	import flash.display.MovieClip;
	
	public class StatusBar extends CoreObject
	{
		
		private static var _instance:StatusBar;
		private static var canInstantiate:Boolean = false;
		public function StatusBar()
		{
			super();
			if (!canInstantiate)
			{
				throw (new Error("StatusBar: cannot instantiate! Use createInstance() instead."));
			}
		}
		
		public static function get instance():StatusBar
		{
			return (_instance);
		}
		
		public static function createInstance():StatusBar
		{
			if (_instance == null)
			{
				canInstantiate = true;
				_instance = new StatusBar();
				canInstantiate = false;
			}
			return (instance);
		}
		
		public function updateTruckAt(position:int):void
		{
			
		}
	}
}